cmake_minimum_required(VERSION 3.10)
project(http-server)
set(CMAKE_CXX_STANDARD 17)
file(GLOB SRC_MAIN ${PROJECT_SOURCE_DIR}/*.cpp)
file(GLOB SRC_ALL ${PROJECT_SOURCE_DIR}/src/*.cpp)
include_directories(${PROJECT_SOURCE_DIR}/include)
set(SRC ${SRC_MAIN} ${SRC_ALL})
add_executable(run ${SRC})
target_link_libraries(run ws2_32)